package cn.yitun.chat.yitunservercommonlib.enums.groupChat;

/**
 * 校验设置类型
 */
public enum GroupInviteSettingTypeEnums {

    INVITE_TYPE_NEVER("1", "不允许邀请"),

    INVITE_TYPE_ADMIN("2", "管理员邀请加入"),

    INVITE_TYPE_ANY("3", "允许任何人邀请加入"),

    INVITE_TYPE_AUTH("4", "需要管理员验证"),


    ;

    private String type;
    private String name;

    GroupInviteSettingTypeEnums() {
    }

    GroupInviteSettingTypeEnums(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

}
